﻿
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;

namespace OA.Model
{
   
    public class BaseResult
    {
        /// <summary>
        /// 200：成功 其他出错，提示信息为Msg
        /// </summary>
        public int State { get; set; } = 200;

        /// <summary>
        /// 返回的错误
        /// </summary>
        public string Msg { get; set; } = "";        

    }

    public class ProcessPointResult: BaseResult
    {
        public List<ApprovalNode> List { get; set; }
    }

    public class ProcessPointResult2 : BaseResult
    {
        public ApprovalNode Info { get; set; }
    }

}
